//联赛福利
.welfare {
    padding-top: 1px;

    .welfareTab {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        margin-top: -85px;
        li {
            width: 321px;
            height: 109px;
            cursor: pointer;
            user-select: none;
            background: url(../img/welfare/tab1.png)top center no-repeat;
            background-size: 100% 100%;
            margin: 0 10px;

            &.active {
                background: url(../img/welfare/tab1_a.png)top center no-repeat;
                background-size: 100% 100%;
            }
        }

        li:nth-child(2) {
            background: url(../img/welfare/tab2.png)top center no-repeat;
            background-size: 100% 100%;

            &.active {
                background: url(../img/welfare/tab2_a.png)top center no-repeat;
                background-size: 100% 100%;
            }
        }
    }

    .pool {
        width: 740px;
        margin: 40px auto 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        .part1{
            display: flex;
            align-items: center;
            justify-content: center;
            width: 740px;
            height: 460px;
            background: url(../img/welfare/pool.png)top center no-repeat;
            background-size: 100% 100%;
            .item{
                width: 300px;
                height: 380px;
                margin: 0 25px;
                background: url(../img/welfare/item1.png)top center no-repeat;
                background-size: 100% 100%;
                text-align: center;
                img{
                    width: 110px;
                    height: 110px;
                    border-radius: 50%;
                    border: 2px solid #FFB6A1;
                    margin-top: 65px;
                }
                .infos{
                    width: 280px;
                    background: rgba(255, 255, 255, 0.5);
                    margin: 30px auto 0;
                    color: #0061f0;
                    border-radius: 10px;
                    padding-top: 1px;
                    padding-bottom: 1px;
                    p:nth-child(1){
                        font-size: 20px;
                        font-weight: bold;
                        margin-top: -15px;
                    }
                    p:nth-child(2){
                        margin: 5px 0;
                    }
                    p:nth-child(3){
                        color: #3f85ec;
                    }
                    .btn{
                        width: 160px;
                        height: 36px;
                        margin: 15px auto 15px;
                        background: linear-gradient(to right,#5FD0FF,#E271FF);
                        border-radius: 18px;
                        line-height: 36px;
                        font-size: 18px;
                        color: #fff;
                    }
                }
            }
        }
        .part2{
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            width: 740px;
            height: 440px;
            background: url(../img/welfare/pool.png)top center no-repeat;
            background-size: 100% 100%;
            margin-top: 17px;
            .poolBottom {
                display: flex;
                align-items: center;
                margin-top: 20px;
                .nowRoom {
                    width: 240px;
                    height: 370px;
                    background: url(../img/welfare/bg1.png)top center no-repeat;
                    background-size: 100% 100%;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
    
                    .headImg {
                        width: 70px;
                        height: 70px;
                        background: #C1B8FF;
                        border: 3px solid #fff;
                        border-radius: 50%;
                        margin-top: 25px;
                    }
                    .infoBox {
                        width: 100%;
                        p {
                            margin: 0 auto;
                            width: 80%;
                            font-size: 16px;
                            text-align: center;
                            color: #ed0eea;
                            line-height: 26px;
                        }
                    }
                    .item{
                        width: 220px;
                        height: 75px;
                        background: url(../img/welfare/bg3.png)top center no-repeat;
                        background-size: 100% 100%;
                        .til{
                            background-color: #fff;
                            line-height: 20px;
                            border-radius: 8px 8px 0 0;
                            font-size: 12px;
                            color: #fa659d;
                            padding-left: 25px;
                        }
                        .val{
                            font-size: 20px;
                            color: #ff008a;
                            font-weight: bold;
                            text-align: center;
                            line-height: 40px;
                        }
                    }
                }
    
                .awardRecord {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 400px;
                    background: url(../img/welfare/bg2.png)top center no-repeat;
                    background-size: 100% 100%;
                    margin-left: 15px;
                    .logWrap{
                        width: 370px;
                        background: url(../img/welfare/bg4.png)top center no-repeat;
                        background-size: 100% 100%;
                    }
                    .title{
                        width: 355px;
                        background: rgba(255, 255, 255, 0.8);
                        line-height: 24px;
                        padding-left: 15px;
                        color: #d86ef8;
                        font-size: 16px;
                        border-radius: 8px 8px 0 0 ;
                        img{
                            width: 10px;
                            margin-left: 10px;
                        }
                    }
                    .awardList {
                        width: 100%;
                        margin-top: 20px;
                        height: 275px;
    
                        li {
                            width: 90%;
                            display: flex;
                            background: url(../img/welfare/item4.png);
                            background-size: 100% 100%;
                            margin: 3px auto 0;
    
                            p {
                                flex: 1;
                                text-align: center;
                                font-size: 16px;
                                color: #ff008a;
                                line-height: 22px;
                            }
    
                            &:first-child {
                                background: unset;
    
                                p {
                                    color: #fa659d;
                                }
                            }
                        }
    
                    }
                }
            }
        }
    }

    .welfareToast {
        width: 604px;
        height: 504px;
        background: url(../img/welfare/rule.png)top center no-repeat;
        background-size: 100% 100%;

        .toast {
            width: 100%;
            height: 100%;

            .close {
                top: 35px !important;
                right: -11px !important;
            }

            .ruleBox {
                div {
                    width: 525px;
                    padding: 10px 0;
                    padding-left: 15px;
                    background: rgba(255, 255, 255, 0.5);
                    border-radius: 20px;
                    margin: 10px auto 0;

                    p:first-child {
                        width: 120px;
                        height: 32px;
                        background: #B972F1;
                        border-radius: 16px;
                        font-size: 16px;
                        text-align: center;
                        font-weight: 600;
                        color: #FFFFFF;
                        line-height: 32px;
                    }

                    p:nth-child(2) {
                        font-size: 14px;
                        width: 82%;
                        color: #676767;
                        line-height: 22px;
                        padding-left: 2%;
                        margin-top: 5px;
                    }

                    &:first-child {
                        display: flex;
                        margin-top: 88px;
                    }
                }
            }
        }
    }

    .trenchCeremony {
        width: 740px;
        margin: 40px auto 0;
        .part1{
            width: 740px;
            height: 505px;
            background: url(../img/welfare/pool.png)top center no-repeat;
            background-size: 100% 100%;
            overflow: hidden;
            .ruleIntro{
                display: flex;
                justify-content: center;
                align-items: center;
                width: 680px;
                height: 100px;
                background: linear-gradient(to right,#D1F6FF,#F6DAFE,#FFF5DF);
                border-radius: 15px;
                margin: 30px auto 0;
                p{
                    width: 510px;
                    color: #0067fe;
                }
                .btn{
                    width: 50px;
                    height: 54px;
                    padding: 15px 25px;
                    background: linear-gradient(-45deg,#5CD2FF,#EA6CFF);
                    border-radius: 15px;
                    text-align: center;
                    margin-left: 15px;
                    font-size: 20px;
                }
            }
            .item{
                width: 685px;
                height: 140px;
                margin: 0 auto;
                padding-top: 10px;
                background: url(../img/welfare/bg5.png);
                background-size: 100% 100%;
                display: flex;
                justify-content: center;
                align-items: center;
                &:nth-child(3){
                    background: url(../img/welfare/bg6.png);
                    background-size: 100% 100%;
                }
                .til{
                    p:nth-child(1){
                        background: url(../img/welfare/bg7.png);
                        background-size: 100% 100%;
                        padding: 0 40px;
                    }
                    p:nth-child(2){
                        font-size: 24px;
                        text-align: center;
                        font-weight: bold;
                        text-stroke:1px #0062E8;
                        -webkit-text-stroke:1px #0062E8;
                    }
                }
                .data{
                    width: 500px;
                    height: 120px;
                    background: rgba(255, 255, 255, 0.5);
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    p{
                        color: #0e48ee;
                    }
                    .list{
                        width: 350px;
                        i{
                            display: inline-block;
                            width: 38px;
                            height: 54px;
                            background: linear-gradient(to bottom,#FFFAB3,#FFE06C);
                            border: 1px solid #27D0FF;
                            border-radius: 6px;
                            margin: 0 2px;
                            font-size: 30px;
                            color: #ff0d51;
                            line-height: 54px;
                            text-align: center;
                            font-weight: bold;
                        }
                    }
                }
            }
        }
        .part2{
            width: 740px;
            height: 1400px;
            background: url(../img/welfare/guess.png)top center no-repeat;
            background-size: 100% 100%;
            overflow: hidden;
            margin-top: 25px;
            .logEntry{
                text-align: right;
                padding: 0 30px;
                font-size: 16px;
                color: #b8b8b8;
                margin: 10px 0 10px;
                cursor: pointer;
            }
            .vote{
                display: flex;
                justify-content: center;
                align-items: center;
                width: 682px;
                height: 160px;
                background: url(../img/welfare/guess2.png)top center no-repeat;
                background-size: 100% 100%;
                margin: 0 auto 0;
                .info{
                    .nick,.uid{
                        font-size: 16px;
                        color: #db0062;
                    }
                    .uid{
                        margin-bottom: 15px;
                    }
                    .owns{
                        display: flex;
                        width: 260px;
                        height: 50px;
                        background-color: #F295AB;
                        border-radius: 25px;
                        .til{
                            width: 90px;
                            height: 44px;
                            background-color: #E66E8A;
                            border-radius: 25px;
                            text-align: center;
                            line-height: 18px;
                            padding-top: 6px;
                        }
                        .val{
                            width: 140px;
                            font-size: 20px;
                            color: #fffbcc;
                            font-weight: bold;
                            line-height: 50px;
                            text-align: center;
                        }
                    }

                }
                .times{
                    margin-left: 20px;
                    .select{
                        position: relative;
                        width: 300px;
                        height: 50px;
                        border-radius: 25px;
                        background-color: #FFF6E1;
                        .show{
                            padding-left: 20px;
                            font-size: 16px;
                            color: #ff008a;
                            line-height: 50px;
                        }
                        .btn{
                            position: absolute;
                            right: 0;
                            top: 0;
                            cursor: pointer;
                            width: 60px;
                            height: 50px;
                            background: url(../img/welfare/arrow2.png)top center no-repeat;
                            background-size: 100% 100%;
                        }
                        .selCon{
                            position: absolute;
                            right: 0;
                            top: 55px;
                            cursor: pointer;
                            width: 60px;
                            height: 80px;
                            color: #ff008a;
                            line-height: 20px;
                            text-align: center;
                            background: #FFDC9F;
                            border-radius: 8px;
                            display: flex;
                            flex-direction: column;
                            justify-content: center;
                            align-items: center;
                            .opt{
                                width: 100%;
                                &.cur{
                                    background-color: #FBFAD1;
                                }
                            }
                        }
                    }
                    .toVote{
                        width: 300px;
                        height: 50px;
                        border-radius: 25px;
                        background: linear-gradient(to right,#FF4773,#FF9C45);
                        text-align: center;
                        line-height: 50px;
                        font-size: 20px;
                        font-weight: bold;
                        margin-top: 20px;
                        cursor: pointer;
                    }
                }
            }
            .devide{
                width: 680px;
                height: 40px;
                background-color: #E1F7F8;
                border-radius: 20px;
                text-align: center;
                line-height: 40px;
                font-size: 24px;
                color: #4498f4;
                font-weight: bold;
                margin: 30px auto;
            }
            .lists{
                display: flex;
                flex-wrap: wrap;
                width: 694px;
                margin: 0 auto;
                .item{
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    flex-direction: column;
                    width: 226px;
                    height: 233px;
                    background: url(../img/welfare/item3.png) top center no-repeat;
                    background-size: 100% 100%;
                    margin: 0 2px;
                    &.cur{
                        background: url(../img/welfare/item2.png) top center no-repeat;
                        background-size: 100% 100%;
                    }
                    .tx{
                        img{
                            width: 64px;
                            height: 64px;
                            border-radius: 50%;
                            border: 3px solid #fff;
                        }
                    }
                    p{
                        color: #1804d6;
                        font-size: 16px;
                    }
                }
            }
        }
        .voteMod{
            position: fixed;
            top: 45%;
            left: 50%;
            width: 230px;
            height: 180px;
            margin: -90px 0 0 -115px;
            border-radius: 20px;
            background: linear-gradient(135deg,#FCE3F4,#FCE3F4,#FDF8E5);
            .info{
                width: 200px;
                height: 100px;
                background: url(../img/welfare/bg3.png);
                background-size: 100% 100%;
                margin: 20px auto 5px;
                color: #db0062;
                p{
                    padding-left: 10px;
                    line-height: 27px;
                }
            }
            .btn{
                width: 180px;
                height: 40px;
                background: linear-gradient(to right,#FF4773,#FFAE3C);
                border-radius: 20px;
                margin: 0 auto;
                line-height: 40px;
                font-size: 20px;
                text-align: center;
                cursor: pointer;
            }
        }

    }

    .ruleBtn {
        width: 124px;
        height: 66px;
        background: url(../img/welfare/ruleBtn.png) top center no-repeat;
        background-size: 100% 100%;
        cursor: pointer;
        user-select: none;
        margin-left: 10px;
        flex-shrink: 0;
    }
}